package com.smarthealthcare.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smarthealthcare.common.annotation.Excel;
import com.smarthealthcare.common.core.domain.BaseEntity;

/**
 * 科室管理对象 department
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
public class Department extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String name;

    /** 具体位置 */
    @Excel(name = "具体位置")
    private String localtion;

    @Excel(name = "科室费用")
    private Long money;

    /** 逻辑删除 */

    private Long del;

    public Department() {
    }

    public Department( Long id, String name, String localtion, Long money, Long del) {

        this.id = id;
        this.name = name;
        this.localtion = localtion;
        this.money = money;
        this.del = del;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLocaltion(String localtion) 
    {
        this.localtion = localtion;
    }

    public String getLocaltion() 
    {
        return localtion;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("localtion", getLocaltion())
            .append("del", getDel())
            .toString();
    }

    /**
     * 获取
     * @return money
     */
    public Long getMoney() {
        return money;
    }

    /**
     * 设置
     * @param money
     */
    public void setMoney(Long money) {
        this.money = money;
    }
}
